part of 'profile_bloc.dart';

sealed class ProfileState extends Equatable {
  const ProfileState();
  
  @override
  List<Object> get props => [];
}

final class ProfileInitial extends ProfileState {}

class ProfileLoading extends ProfileState{}

class ProfileLoaded extends ProfileState {
  final Profile profile;

  const ProfileLoaded({required this.profile});

 

  @override
  List<Object> get props => [profile];
}

class ProfileError extends ProfileState {
  final Object error;
  // final Profile profile;

  const ProfileError({
    // required this.profile,
    required this.error,
  });

  

  @override
  List<Object> get props => [error];
}